.tag-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}

.tag-badge {
  background: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 0.75em;
  font-weight: 500;
  color: #555;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  height: 24px;
  box-sizing: border-box;
}

.tag-badge.clickable {
  cursor: pointer;
  transition: all 0.2s ease;
}

.tag-badge.clickable:hover {
  background: #e0e0e0;
  border-color: #aaa;
}

.tag-badge.selected {
  background: #e3f2fd;
  border-color: #90caf9;
  color: #1565c0;
  font-weight: 500;
}

.tag-badge.selected.clickable:hover {
  background: #bbdefb;
  border-color: #64b5f6;
}

.tag-badge:hover {
  background: #e0e0e0;
  border-color: #aaa;
}

.event-list-entry .tag-badges {
  margin-top: 0;
}

.content .tag-badges {
  flex-direction: row;
}
